/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package tongxunlu;

import java.io.Serializable;

/**
 *
 * @author Tim
 */
public class workmassage implements Serializable{
    private String WORKCOUNTRY;
    private String WORKPROVINCE;
    private String WORKCITY;
    private String WORKADD;/*工作地址*/
    private String WORKUNIT;/*工作单位*/
    private String DEPARTMENT;/*工作部门*/
    private String POSITION;/*职位*/
    private String WORKZIPCODE;/*邮政编码*/
    private String WORKTEL;/*单位电话*/
    private String WORKFAX;/*传真*/

    public workmassage() {
        this("","","","","","","","","","");
    }

    public workmassage(String WORKCOUNTRY, String WORKPROVINCE, String WORKCITY, String WORKADD, String WORKUNIT, String DEPARTMENT, String POSITION, String WORKZIPCODE, String WORKTEL, String WORKFAX) {
        this.WORKCOUNTRY = WORKCOUNTRY;
        this.WORKPROVINCE = WORKPROVINCE;
        this.WORKCITY = WORKCITY;
        this.WORKADD = WORKADD;
        this.WORKUNIT = WORKUNIT;
        this.DEPARTMENT = DEPARTMENT;
        this.POSITION = POSITION;
        this.WORKZIPCODE = WORKZIPCODE;
        this.WORKTEL = WORKTEL;
        this.WORKFAX = WORKFAX;
    }

    public void setDEPARTMENT(String DEPARTMENT) {
        this.DEPARTMENT = DEPARTMENT;
    }

    public void setPOSITION(String POSITION) {
        this.POSITION = POSITION;
    }

    public void setWORKADD(String WORKADD) {
        this.WORKADD = WORKADD;
    }

    public void setWORKCITY(String WORKCITY) {
        this.WORKCITY = WORKCITY;
    }

    public void setWORKCOUNTRY(String WORKCOUNTRY) {
        this.WORKCOUNTRY = WORKCOUNTRY;
    }

    public void setWORKFAX(String WORKFAX) {
        this.WORKFAX = WORKFAX;
    }

    public void setWORKPROVINCE(String WORKPROVINCE) {
        this.WORKPROVINCE = WORKPROVINCE;
    }

    public void setWORKTEL(String WORKTEL) {
        this.WORKTEL = WORKTEL;
    }

    public void setWORKUNIT(String WORKUNIT) {
        this.WORKUNIT = WORKUNIT;
    }

    public void setWORKZIPCODE(String WORKZIPCODE) {
        this.WORKZIPCODE = WORKZIPCODE;
    }

    public String getDEPARTMENT() {
        return DEPARTMENT;
    }

    public String getPOSITION() {
        return POSITION;
    }

    public String getWORKADD() {
        return WORKADD;
    }

    public String getWORKCITY() {
        return WORKCITY;
    }

    public String getWORKCOUNTRY() {
        return WORKCOUNTRY;
    }

    public String getWORKFAX() {
        return WORKFAX;
    }

    public String getWORKPROVINCE() {
        return WORKPROVINCE;
    }

    public String getWORKTEL() {
        return WORKTEL;
    }

    public String getWORKUNIT() {
        return WORKUNIT;
    }

    public String getWORKZIPCODE() {
        return WORKZIPCODE;
    }
     public boolean isEmpty(){
        if(this.DEPARTMENT.isEmpty()&&this.POSITION.isEmpty()&&this.WORKADD.isEmpty()&&this.WORKCITY.isEmpty()&&this.WORKCOUNTRY.isEmpty()&&this.WORKFAX.isEmpty()&&this.WORKPROVINCE.isEmpty()&&this.WORKTEL.isEmpty()&&this.WORKUNIT.isEmpty()&&this.WORKZIPCODE.isEmpty())
            return true;
        return false;
    }

}
